package com.pingba.common;

import com.pingba.facade.enums.Gender;

/**
 * Created by Administrator on 2015/11/12 0012.
 */
public class Constant {

    public static final String UserInSession = "user";

    /**
     * 此处为返回客户端的消息
     */
    public static final String NeedLoginMsg = "need login";
    public static final String SuccessMsg = "success";
    public static final String PhoneHasUsed = "the phone has been registered";
    public static final String WrongPhoneOrPasswd = "wrong username or password";

    public static class Log{
        public static final String MsgApplyAgreeError = "Set msgApply agree failed for logic error,  msgApply: ";
        public static final String MsgApplyRefuseError = "Set msgApply refuse failed for logic error,  msgApply: ";
    }

    /**
     * 存储用户相关位置信息的属性，放在session中
     */
    public static final String ProvinceAttr = "province";
    public static final String CityAttr = "province";
    public static final String DistrictAttr = "district";

    public static void main(String[] args) {
        Gender gender = Gender.Female;
        gender.getCode();
    }


}
